<template>
  <div>
    <h1>用户信息</h1>
    <el-card class="box-card">
      <template #header>
        <div class="card-header">
          <span>个人信息</span>
        </div>
      </template>
      <div class="text item">
        <strong>用户名:</strong> 陈启榕
      </div>
      <div class="text item">
        <strong>邮箱:</strong> 522066738@qq.com
      </div>
      <div class="text item">
        <strong>电话:</strong> 15385660777
      </div>
      <div class="text item">
        <strong>注册日期:</strong> 2024-11-23
      </div>
      <div class="text item">
        <strong>会员等级:</strong> VIP
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'UserInfo'
};
</script>

<style scoped>
h1 {
  font-size: 24px;
  color: #333;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}
</style>